package com.smart.village.big.screen.domain;

import com.google.common.collect.Lists;

import java.io.Serializable;
import java.util.List;

public class VideosCategory implements Serializable {
    private static final long serialVersionUID = 1L;
    private String videoCategorySerialNumber;
    private String videoCategory;
    private String parentSerialNumber;
    private String createrSerialNumber;
    private String createDatetime;
    private String rowStatus;
    private String operationID;
    private String operationDatetime;
    private List<VideosCategory> children = Lists.newArrayList();

    public List<VideosCategory> getChildren() {
        return children;
    }

    public void setChildren(List<VideosCategory> children) {
        this.children = children;
    }

    public void addChild(VideosCategory child) {
        this.children.add(child);
    }

    public VideosCategory() {
    }

    public VideosCategory(String videoCategorySerialNumber, String videoCategory, String parentSerialNumber,  String rowStatus, String operationID, String operationDatetime) {
        this.videoCategorySerialNumber = videoCategorySerialNumber;
        this.videoCategory = videoCategory;
        this.parentSerialNumber = parentSerialNumber;
        this.rowStatus = rowStatus;
        this.operationID = operationID;
        this.operationDatetime = operationDatetime;
    }

    public String getVideoCategorySerialNumber() {
        return videoCategorySerialNumber;
    }

    public void setVideoCategorySerialNumber(String videoCategorySerialNumber) {
        this.videoCategorySerialNumber = videoCategorySerialNumber;
    }

    public String getVideoCategory() {
        return videoCategory;
    }

    public void setVideoCategory(String videoCategory) {
        this.videoCategory = videoCategory;
    }

    public String getParentSerialNumber() {
        return parentSerialNumber;
    }

    public void setParentSerialNumber(String parentSerialNumber) {
        this.parentSerialNumber = parentSerialNumber;
    }

    public String getCreaterSerialNumber() {
        return createrSerialNumber;
    }

    public void setCreaterSerialNumber(String createrSerialNumber) {
        this.createrSerialNumber = createrSerialNumber;
    }

    public String getCreateDatetime() {
        return createDatetime;
    }

    public void setCreateDatetime(String createDatetime) {
        this.createDatetime = createDatetime;
    }

    public String getRowStatus() {
        return rowStatus;
    }

    public void setRowStatus(String rowStatus) {
        this.rowStatus = rowStatus;
    }

    public String getOperationID() {
        return operationID;
    }

    public void setOperationID(String operationID) {
        this.operationID = operationID;
    }

    public String getOperationDatetime() {
        return operationDatetime;
    }

    public void setOperationDatetime(String operationDatetime) {
        this.operationDatetime = operationDatetime;
    }
}
